package com.itheima.movement.mapper;

import com.itheima.entity.pojo.MovementCommentLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :wujunjie
 * createTime :2022-12-23 14:31
 * description :
 */
@Mapper
public interface MovementCommentLikeMapper {
    Boolean insertLike(@Param("commentLIke") MovementCommentLike movementCommentLIke);

    Boolean deleteLike(@Param("id") String id);

    MovementCommentLike selectBymovementCommentIdAndUserId(@Param("movementCommentId") String movementCommentId, @Param("id") String id);

    List<MovementCommentLike> selectByMovementCommentIds(@Param("movementCommentIds") List<String> movementCommentIds);

}
